<?php
// Module Definition
// by Chuck under the GPL License
$module['name'] = 'DNS Mail';
$module['description'] = 'Mail DNS zone updates for manual zone management.';
global $T,$cfg;
//$T['ss']['mpm_itk'] = 'mpm_itk';
//$cfg['sslang'].=",mpm_itk";

switch($action) {
	case 'register':
		break;
	case 'unregister':
		break;
	case 'hook':
		register_hook('web:lang', 'dnsmail_add_lang');
		register_hook('web:cfg:default', 'dnsmail_add_cfg');
		register_hook('web:server:templates', 'dnsmail_template');
		// Server hooks
		register_hook('server:cfg:default', 'dnsmail_add_cfg');
		register_hook('server:domain:create', 'dnsmail_domain_create');
		register_hook('server:domain:remove', 'dnsmail_domain_remove');
		register_hook('server:domain:update', 'dnsmail_domain_update', 1);
		break;
}
?>
